package com.example.system.domain.course.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

@Getter
@Setter
public class CourseVO {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long courseId;

    private String teacherId;

    private String teacherName;

    private String courseName;

    private Integer videoNum;
    
    private Integer status;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

}
